<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>更新房源</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">

		<link rel="stylesheet" href="${pageContext.request.contextPath}/plugins/layui/css/layui.css" media="all" />
		<link rel="stylesheet" href="${pageContext.request.contextPath}/plugins/font-awesome/css/font-awesome.min.css">
	</head>

	<body>
		<div style="margin: 15px;">
			<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
				<legend>更新房源</legend>
			</fieldset>

			<form action="${pageContext.request.contextPath}/SelectHouseServlet?action=update" method="post">
				<div class="layui-form-item">
				    <div class="layui-inline">
						<label class="layui-form-label">所属地区</label>
					    <div class="layui-input-inline">
					    <input type="hidden" name="hid" value="${h.hid}" class="layui-input">
						<input type="text" name="dq" value="${h.haddress}" class="layui-input">
					   </div>
					</div>	
				</div>

				<div class="layui-form-item">
				       <label class="layui-form-label">所属小区</label>
						<div class="layui-input-inline">
							<input type="text" name="xq"  value="${h.hcommunity}" class="layui-input">
						</div>
					
				</div>

				<div class="layui-form-item">
				       <label class="layui-form-label">单元号</label>
						<div class="layui-input-inline">
							<input type="text" name="dy"  value="${h.hunit}" class="layui-input">
						</div>
					
				</div>
				
				<div class="layui-form-item">
				       <label class="layui-form-label">楼层</label>
						<div class="layui-input-inline">
							<input type="text" name="lc"  value="${h.hfloor}" class="layui-input">
						</div>
					
				</div>
				<div class="layui-form-item">
				       <label class="layui-form-label">房间号</label>
						<div class="layui-input-inline">
							<input type="text" name="fj"  value="${h.hnum}" class="layui-input">
						</div>
					
				</div>
				<div class="layui-form-item">
				       <label class="layui-form-label">房屋面积</label>
						<div class="layui-input-inline">
							<input type="text" name="mj"  value="${h.harea}" class="layui-input">
						</div>
					
				</div>
				<div class="layui-form-item">
				       <label class="layui-form-label">房屋朝向</label>
						<div class="layui-input-inline">
							<input type="text" name="cx"  value="${h.htoward}" class="layui-input">
						</div>
					
				</div>
				<div class="layui-form-item">
				       <label class="layui-form-label">装修</label>
						<div class="layui-input-inline">
							<input type="text" name="zx"  value="${h.hdecorate}" class="layui-input">
						</div>
					
				</div>
				<div class="layui-form-item">
				       <label class="layui-form-label">是否双气</label>
						<div class="layui-input-inline">
							<input type="text" name="sq"  value="${h.hshaungqi}" class="layui-input">
						</div>
					
				</div>
				<div class="layui-form-item">
				       <label class="layui-form-label">限住人数</label>
						<div class="layui-input-inline">
							<input type="text" name="xz"  value="${h.hlimit}" class="layui-input">
						</div>
				</div>
				<div class="layui-form-item">
				       <label class="layui-form-label">房屋设施</label>
						<div class="layui-input-inline">
							<input type="text" name="ss"  value="${h.hfacilities}" class="layui-input">
						</div>
				</div>
				<div class="layui-form-item">
				       <label class="layui-form-label">出租价格</label>
						<div class="layui-input-inline">
							<input type="text" name="jg"  value="${h.hprice}" class="layui-input">
						</div>
				</div>
				<div class="layui-form-item">
				       <label class="layui-form-label">出租状态</label>
						<div class="layui-input-inline">
							<input type="text" name="zt"  value="${h.hstate}" class="layui-input">
						</div>
				</div>
				<div class="layui-form-item">
				       <label class="layui-form-label">房屋完整信息</label>
						<div class="layui-input-inline">
							<input type="text" name="wz"  value="${h.hmessage}" class="layui-input">
						</div>
				</div>
				<div class="layui-form-item">
				       <label class="layui-form-label">信息添加时间</label>
						<div class="layui-input-inline">
							<input type="text" name="tj"  value="${h.haddtime}" class="layui-input">
						</div>
				</div>
				<div class="layui-form-item">
				       <label class="layui-form-label">最近更新时间</label>
						<div class="layui-input-inline">
							<input type="text" name="gx"  value="${h.hupdatetime}" class="layui-input">
						</div>
				</div>
			 <div class="layui-form-item">
			           <label class="layui-form-label"></label>
						<div class="layui-input-inline">
							<input type="submit"   value="提交" class="layui-input">
						</div>
				</div>
			</form>
		</div>
	</body>

</html>